package com.instructor;

import com.instructor.Instructor;

public class NETinstructor extends Instructor {
    public NETinstructor() {
    }

    public NETinstructor(String name, String gender, int age, double teachAge, String centre) {
        super(name, gender, age, teachAge, centre);
    }

    @Override
    public void giveLessons() {
        System.out.println("打开Visual Studio 2017、实施理论课授课");
        System.out.println("您好，我是"+getName()+"今年已经"+getAge()+
                "岁了，已经有"+getTeachAge()+"年教龄了，现在在"+getCentre()+"工作");

    }
}